package com.sakura.mall.product.attrAttrgroupRelation.service;

import com.sakura.mall.common.response.Page;
import com.sakura.mall.product.attrAttrgroupRelation.domain.entity.AttrAttrgroupRelationEntity;
import com.sakura.mall.product.attrAttrgroupRelation.domain.request.AddAttrAttrgroupRelationRequest;
import com.sakura.mall.product.attrAttrgroupRelation.domain.request.UpdateAttrAttrgroupRelationRequest;
import com.sakura.mall.product.attrAttrgroupRelation.domain.request.AttrAttrgroupRelationPageRequest;
import com.baomidou.mybatisplus.extension.service.IService;
import com.sakura.mall.product.attrAttrgroupRelation.domain.vo.AttrAttrgroupRelationVo;

/**
 * 属性&属性分组关联 service
 *
 * @author sakura
 */
public interface AttrAttrgroupRelationService extends IService<AttrAttrgroupRelationEntity> {
    

    /**
     * 分页查询
     *
     * @param request 请求
     * @return ret
     */
    Page<AttrAttrgroupRelationVo> queryPage(AttrAttrgroupRelationPageRequest request);

    /**
    * 注册用户
    *
    * @param request 请求
    */
    void add(AddAttrAttrgroupRelationRequest request);
    

    /**
     * 更新用户
     *
     * @param id      id
     * @param request 更新
     */
    void updateById(Long id, UpdateAttrAttrgroupRelationRequest request);
}
